/*
 *
 *
 */

#include <iostream>
#include <cstring>
#include <SDL/SDL.h>
#include <SDL/SDL_image.h>
#include "globals.h"
#include "State.h"
#include "TimeCounter.h"
#include "Sprite.h"
#include "Audio.h"
#include "Text.h"
#include "InputManager.h"
#ifdef _TRACKING_
	#include "TrackManager.h"
#endif
#include "SmileManager.h"

#ifndef _INITIALSTATE_H_
#define _INITIALSTATE_H_

using namespace std;

class InitialState : public State
{
    private:
   
 		int score;
 		TimeCounter clock;
 		Text *messageScore;
 		Text *messageTime;
 		Text *messageWinLose;
 		Sprite *hudScoreBackground;
 		Sprite *hudTimeBackground;
        Sprite *background;
        Sprite *leftHand;
        Sprite *rightHand;
        Audio *music;
        InputManager *inputManager;
        #ifdef _TRACKING_
	        TrackManager *trackManager;
	        tp_body *body;
	    #endif
        SmileManager *smileManager;

    public:

        void load(void);
        int  update(int tDelta);
        void draw(SDL_Surface *screen);
        void unload(void);
};

#endif

